



#include<iostream>



class A
{
public:
	A()
	{

	}
	void func1()
	{
		
	}
	void func2()
	{

	}
public:
	int a = 10;
	int b = 20;
};


class B
{
public:
	B()
	{
		ptr = new A(this);
	}
	void func1()
	{
		
   }
	void func2()
	{

	}
public:
};

int main()
{
	B b;
	A a;
}